Throw a fieldset around the new search options.
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 23 Oct 2008 00:28:29 +0000 (00:28 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 23 Oct 2008 00:28:29 +0000 (00:28 +0000)
includes/specials/SpecialSearch.php

index c22bccd..5d034eb 100644 (file)
@@ -658,7 +658,8 @@ class SpecialSearch {
                                $searchButton.
                        "</form>";
 
-               return $this->formHeader($term).$out;
+               return Xml::openElement( 'fieldset', array( 'id' => 'mw-searchoptions' ) ) . $this->formHeader($term) . 
+                                       $out . Xml::closeElement( 'fieldset' );
        }
 
        function powerSearchFocus() {
@@ -804,7 +805,7 @@ class SpecialSearch {
                }
                $out .= Xml::submitButton( wfMsg( 'searchbutton' ), array( 'name' => 'fulltext' ) );
                $out .= Xml::closeElement( 'form' );
-
-               return $this->formHeader($term).$out;
+               return Xml::openElement( 'fieldset', array( 'id' => 'mw-searchoptions' ) ) . $this->formHeader($term) . 
+                                       $out . Xml::closeElement( 'fieldset' );
        }
 }